package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.UserApprove;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hyl
 * @since 2022-08-28
 */
public interface IUserApproveService extends IService<UserApprove> {
    /*/**
     *@description 根据userID查询userApprove
     *@params [userId]
     *@return_value com.woniu.entity.UserApprove
     *@author hyl
     *@date 2022/8/30
     */
    UserApprove getUserAppByUserId(Integer userId);

    /*/**
     *@description 多条件查询userApprove
     *@params [userApprove]
     *@return_value java.util.List<com.woniu.entity.UserApprove>
     *@author hyl
     *@date 2022/8/30
     */
    List<UserApprove> getUserAppByAny(UserApprove userApprove);

    /*/**
     *@description 多条件分页查询userApprove
     *@params [p, pageSize, userApprove]
     *@return_value com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.woniu.entity.UserApprove>
     *@author hyl
     *@date 2022/8/30
     */
    Page<UserApprove> getUserAppByAnyWithPage(Integer p, Integer pageSize, UserApprove userApprove);
}
